package com.aaa.zuul;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.zuul.EnableZuulProxy;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @Author: YuXin
 * @Date : Created in 2020/11/10 14:47
 * @ClassName : ZuulApplication
 * @Description :
 * @Package_Name : com.aaa.zuul
 */
@SpringBootApplication
@EnableDiscoveryClient  //开启服务端注册功能
@EnableZuulProxy  //开启zuul代理
@EnableFeignClients
public class ZuulApplication {
    public static void main(String[] args) {
        SpringApplication.run(ZuulApplication.class, args);
    }
}
